home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Utilities / Disk & File / ShowSizes 2.2.3 / ShowSizes ReadMe next >
Encoding:
Text File  |  1994-01-19  |  13.7 KB  |  87 lines  |  [ttro/ttxt]

  1. y displays the folders and their sizes in bytes.  Notice that in this mode there is no basis for drawing a percentage bar, so there is no bar present, regardless of its setting.
  2.  
  3. You can also call up info on any folder or file icon.  Simply click on an icon and select Get Info from the File menu.  A window like the following will appear:
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26. This example is somewhat special as it includes the top level information.  Sub-folders will have slightly less information.  In the percentages there are two numbers, the first being the percentage for that folder and all its sub-folders and the second being for the files directly in that folder.
  27.  
  28. NOTE: The following feature has been disabled in version 2.2.3.  You can turn it back on by editing the LAYO resource inside of ShowSizes with ResEdit. I made this feature optional because it seems that it was going off too often and crying wolf.  As I investigate the situation, I will decide whether or not to use this feature in future versions.
  29.  
  30. After playing with this for a while, I realized that the Size Here and Size Below should always add up to the Physically Used value.  Since the Size Here and Size Below values are computed as a sum of all the files on the disk and the Physically Used value was maintained by the file system, this would provide a valuable sanity check to make sure that things are kosher. I now do this check and display the following alert if these values do not match.
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49. What does this really mean?  It means that there is space used on your disk that is not accounted for. This usually occurs during a crash or similar system malfunction.  While this problem is not immediately serious, it should probably be treated as such since it will only get worse.  Sometimes ShowSizes will notice this condition before Norton or SUM when they will give the disk a clean bill of health. In this case you would probably be smart to reformat your disk and restore from a backup. You can generally back a disk up in this condition since that will only back up the files and not the invalid directory or header information.  I have found this check to be very useful on my own disks and it has alerted me to problems before I would have noticed otherwise.
  50.  
  51. All windows are printable to all printers.  How’s that for service?
  52.  
  53. There are a number of other features that are copied from the Finder.  Double-clicking on the title bar will open the window of the parent folder. If your Finder doesn’t do this you need to turn on the bit in the LAYO resource that enables this.  You can use RedEdit, Layout, or Norton’s Layout Plus to do this if and only if you are running system 6.0.x.  System 7 uses a different technique. You can also Option click on the close box to close all the windows, except for the top level window which will remain open.  Closing the top level window closes all the other windows for that disk.
  54.  
  55. Under the New and Open menu items in the File menu is an item called Update.  It will only be available if the currently open file’s disk is mounted and the file has been saved.  As far as this is concerned, the disk is the same if it has the same name and the same size.
  56.  
  57. There is a Save As Text… item under the File menu.  It saves a tab delimited text file of all the relevant data from the current document.  It includes a header identifying all the fields.  It is suitable for importing into Excel or another spreadsheet program.  Note that each line may be over 255 characters, so this file may not be suitable for some simpler programs.  I have included this because I could.  I suppose it may be useful to track changes to a disk.  I can’t imagine bothering.
  58.  
  59. Finally, I added a cool feature that solves a problem I have been having, but it only works under System 7.  What it does is allow you do bring up the Finder window for any window you are looking at in ShowSizes. All you have to do is select a folder in ShowSizes and choose the Finder Window menu item. The Finder will come to the front and the folder's window will open.  Too cool! You can then examine the individual files and/or throw things in the trash. Any changes will not be noticed by ShowSizes until you rescan the disk though. This can be done with the Update menu item. A simple shortcut to get to the Finder window is to hold the option key down and double click on a folder to bring up the corresponding Finder window.  This magic is brought to you by FinderEvents, the custom AppleEvents that the System 7 Finder understands. ShowSizes is AppleEvent aware, although it only supports the required AppleEvents.
  60.  
  61. For you ResEdit hackers out there, ShowSizes has its own custom LAYO which contains all those nifty settings that might live in a customizable preferences file if I were so inclined. Instead I threw them all into the LAYO resource and included a template. Feel free to break things if you are so inclined.
  62.  
  63. ShowSizes II is copyright 1991 by Jon Pugh. It is $20 ShareWare, which means that if you keep it in your toolbox of utilities, I would like you to send me $20.  I know you won’t, but I hope some of you are responsible human beings.  I have a ski habit to support and your checks are sorely needed since lift tickets are near $40 here.
  64.  
  65. Jon Pugh
  66. 1861 Landings Drive
  67. Mountain View, CA 94043
  68. (415) 691-6643
  69. jonpugh@netcom.com
  70.  
  71. Version History:
  72.  
  73. The original version had no number.  It had no scrollbars.  It was feeble, but it worked.
  74.  
  75. Version 2.0 was a first limited release that only went to MacCircles. I thought it was done.
  76.  
  77. Version 2.0.1 fixed an integer overflow (by a simple typecast) on large disks during the check for sufficient disk space during a save.  This release went to Info-Mac and others. I prayed that it was done, but it bombed on SEs and wouldn’t print on them or the Portable.  This version is also missing the header lines on the Portable for an, as yet to be determined, reason.
  78.  
  79. Version 2.0.2 changed the stack increasing method in order to eliminate the crashes and printing problems on the SE and Plus ROMs.  Changed the hilite mode for color hiliting. Added the display of the selection size.  Changed a bunch of drawing stuff so that it looks better.  Fixed the missing header lines problem, although it is still a mystery as to why they were missing. It had something to do with the pen state that PenNormal fixed but wasn’t documented. I also added balloon help for the menus and found that ShowSizes was System 7 compatible. This release went to MacCircles and Info-Mac.
  80.  
  81. Version 2.1 is an upgrade to THINK Pascal 4.0 and TCL 1.1.2 for System 7. I also fixed a bug in the display of the total disk percentages. This shouldn’t have been too obnoxious since the total display shrinks rather rapidly and only one guy noticed. I fixed an annoying update problem that sometimes drew selections wrong after a window was opened. I also added the FinderEvent support and more balloons. I changed the printing so that blank pages wouldn’t print from the tree view. This release also went to MacCircles and Info-Mac. The only known bug is when doing a Save As over an existing file. A duplicate file name error prevents this from working.
  82.  
  83. Version 2.2 fixes the Save As bug (it was a Save As Text bug too), which was really trivial, and changed the selection method to be like the System 7’s Finder, which is an active selection box that hilites folders as it selects them. I also added support for AutoDoubler. Thanks to the people at Salient for the secrets to do this. ShowSizes now shows all files in their compressed state only. I also removed an extra return from the text output. The selection header has a combined percentage added to it. This version went to Info-Mac and a few BBS’s in the SF area.
  84.  
  85. Version 2.2.1 adds a single line of code to output a couple of fields to the text report that were forgotten. Since no one alerted me to this, it must not be getting used.  Bummer.  I changed some of the address info since I am moving.
  86.  
  87. Version 2.2.2 added some transitory information to the text only output which is a count of the number of file forks, data and resource, which are present. This is designed as an aid to determining was